<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改开发商管理')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-developers-edit" th:object="${sysADevelopersList}">
            <input name="developersId" th:field="*{developersId}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">开发商信息：</label>
                <div class="col-sm-8">
                    <input name="developersMessage" th:field="*{developersMessage}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">企业法定代表人：</label>
                <div class="col-sm-8">
                    <input name="enterpriseRepresentative" th:field="*{enterpriseRepresentative}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">公司地址：</label>
                <div class="col-sm-8">
                    <input name="companyAddress" th:field="*{companyAddress}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">联系电话：</label>
                <div class="col-sm-8">
                    <input name="developersPhone" th:field="*{developersPhone}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">邮箱：</label>
                <div class="col-sm-8">
                    <input name="MAILBOX" th:field="*{MAILBOX}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">微信号：</label>
                <div class="col-sm-8">
                    <input name="wechatId" th:field="*{wechatId}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">小区数目：</label>
                <div class="col-sm-8">
                    <input name="plotAmout" th:field="*{plotAmout}" class="form-control" type="text" required>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/developers";
        $("#form-developers-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-developers-edit').serialize());
            }
        }
    </script>
</body>
</html>